'''
Created on 23-10-2012

@author: Mateusz
'''
import matplotlib.pyplot as plt
class Drawer(object):
    '''
    classdocs
    '''


    def __init__(self):
        self.fig = plt.figure()
        self.sub_plot = self.fig.add_subplot(111)
     
    def plot(self, x_data, y_data, params):
        self.sub_plot.plot(x_data, y_data, params)    
        
    def draw(self):
        self.fig.show() 